package com.muse.designpatterns.strategy.duck;

import com.muse.designpatterns.strategy.fly.FlyNoWay;
import com.muse.designpatterns.strategy.quack.MuteQuack;

public class DecoyDuck extends Duck{
    public DecoyDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new MuteQuack();
    }
    @Override
    public void display() {
        System.out.println("假鸭子外貌特征");
    }
}
